package cn.bupt.adt.service;

import java.util.Date;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.CheckInstiAppUser;
import cn.bupt.adt.entity.autogenerate.CheckInstiView;

@Service
public interface ICheckInstiAppUserService {

	CheckInstiView getInsByAccount(String account);

	void updateLoginTimeById(Integer id, Date loginTime);

	CheckInstiAppUser getInsById(Integer userId);

	boolean changePasswd(CheckInstiAppUser ins, String newPasswd);

	void updateInsAppUser(CheckInstiAppUser ins);

	CheckInstiView getInsViewById(Integer userId);

}
